package com.hzcx.app.simplechat.chat.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.hzcx.app.simplechat.R;
import com.hzcx.app.simplechat.chat.bean.ChatCustomServiceMenuBean;

import java.util.List;

public class ChatCustomServiceMenuAdapter extends BaseQuickAdapter<ChatCustomServiceMenuBean, BaseViewHolder> {
    public ChatCustomServiceMenuAdapter(@Nullable List<ChatCustomServiceMenuBean> data) {
        super(R.layout.rv_chat_custom_service_menu, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, ChatCustomServiceMenuBean item) {
        helper.setText(R.id.tv_content, item.getName());
    }
}
